<template>
	<el-main>
		<el-row :gutter="15">
			<el-col >
				<el-card shadow="never">
					<xunheng-file-library :code="'file:file:other'" v-model="file" :multiple="multiple" :hideUpload="hideUpload" :max="99" @submit="submit">
					</xunheng-file-library>
				</el-card>
			</el-col>
		</el-row>
	</el-main>
</template>

<script>
	import XunhengFileLibrary from "@/components/xunheng/xunhengFileLibrary";

	export default {
		name: 'file-library',
		components: {
			XunhengFileLibrary
		},
		data() {
			return {
				file: '',
				multiple: false,
				hideUpload: false,
				upload: '',
				upload2: ''
			}
		},
		mounted() {

		},
		methods: {
			submit(value){
				console.log(value)
				this.$message("返回值请查看F12控制台console.log()")
			}
		}
	}
</script>

<style scoped>

</style>
